<template>
  <div class="Announce">
    <van-nav-bar
      class="Announce1"
      title="物业通知"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
      <Announce-Card />
      <van-divider>暂无新的通知</van-divider>
  </div>
</template>

<script>
import AnnounceCard from '../../components/AnnounceCard.vue'
import Vue from 'vue'
import { Divider } from 'vant'
Vue.use(Divider)
export default {
  name: 'Announce',
  components: {
    'Announce-Card': AnnounceCard
  },
  data () {
    return {
      // areaList,
      searchResult: []
    }
  },
  methods: {
    // 返回首页
    onClickLeft () {
      this.$router.push('/Home')
    }
  }
}
</script>

<style scoped>
.Announce{
  background-color: rgb(247, 245, 245)
}
.van-divider{
  margin: 0;
}
</style>
